package com.gshrms.org.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gshrms.org.domain.OrgPostCategory;
import org.apache.ibatis.annotations.Mapper;

/**
 * 职级类别Mapper接口
 * 
 * @author ruoyi
 * @date 2024-10-28
 */
@Mapper
public interface OrgPostCategoryMapper extends BaseMapper<OrgPostCategory>
{
    /**
     * 查询职级类别
     * 
     * @param postCategoryId 职级类别主键
     * @return 职级类别
     */
    public OrgPostCategory selectOrgPostCategoryByPostCategoryId(Long postCategoryId);

    /**
     * 查询职级类别列表
     * 
     * @param orgPostCategory 职级类别
     * @return 职级类别集合
     */
    public List<OrgPostCategory> selectOrgPostCategoryList(OrgPostCategory orgPostCategory);

    /**
     * 新增职级类别
     * 
     * @param orgPostCategory 职级类别
     * @return 结果
     */
    public int insertOrgPostCategory(OrgPostCategory orgPostCategory);

    /**
     * 修改职级类别
     * 
     * @param orgPostCategory 职级类别
     * @return 结果
     */
    public int updateOrgPostCategory(OrgPostCategory orgPostCategory);

    /**
     * 删除职级类别
     * 
     * @param postCategoryId 职级类别主键
     * @return 结果
     */
    public int deleteOrgPostCategoryByPostCategoryId(Long postCategoryId);

    /**
     * 批量删除职级类别
     * 
     * @param postCategoryIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOrgPostCategoryByPostCategoryIds(Long[] postCategoryIds);
}
